from abc import ABC, abstractmethod

__all__ = ["Command", "NoCommand"]

class Command(ABC):
    @abstractmethod
    def execute(self):
        ...

    @abstractmethod
    def undo(self):
        ...


class NoCommand(Command):
    def execute(self):
        pass

    def undo(self):
        pass